<extend name="Public/base"/>
<block name="content">
    <div class="admin-content">
        <div class="admin-content-body">
            <div class="am-cf am-padding">
                <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">网站设置</strong> <small></small></div>
            </div>

            <div class="am-g">
                <div class="am-u-sm-12">
                    <table class="am-table am-table-bordered am-table-radius am-table-striped">
                        <thead>
                        <tr>
                            <th>序号</th>
                            <th>商城logo</th>
                            <th>QQ</th>
                            <th>联系方式</th>
                            <th>版权所有</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <volist name="data" id="vo">
                            <tr>
                                <td>
                                    {$key}
                                </td>
                                <td>
                                   <img src=" __ROOT__/{$vo['logo']}" style="width: 40px;height: 30px">
                                </td>
                                <td>
                                    {$vo['sort']}
                                </td>
                                <td>
                                    {$vo['url']}
                                </td>
                                <td>
                                    <a href="{:U('edit_lunbo',array('id'=>$vo['id']))}" class="am-btn am-btn-default am-btn-xs am-text-secondary"><span class="am-icon-pencil-square-o"></span> 编辑</a>
                                </td>
                            </tr>
                        </volist>
                        </tbody>
                    </table>
                </div>
            </div>

        </div>

        <footer class="admin-content-footer">
            <hr>
            <p class="am-padding-left">© 2014 AllMobilize, Inc. Licensed under MIT license.</p>
        </footer>
    </div>

</block>